#include <stdio.h>
#include <time.h>
 
int main(void){
    time_t currentTime;
    time(&currentTime);
    printf("当前时间戳:%ld\n",currentTime);
    printf("%s\n",ctime(&currentTime));
    return 0;
}